package com.yjq.programmer.dao;

import com.yjq.programmer.domain.RecentListen;
import com.yjq.programmer.domain.RecentListenExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RecentListenMapper {
    int countByExample(RecentListenExample example);

    int deleteByExample(RecentListenExample example);

    int deleteByPrimaryKey(String id);

    int insert(RecentListen record);

    int insertSelective(RecentListen record);

    List<RecentListen> selectByExample(RecentListenExample example);

    RecentListen selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") RecentListen record, @Param("example") RecentListenExample example);

    int updateByExample(@Param("record") RecentListen record, @Param("example") RecentListenExample example);

    int updateByPrimaryKeySelective(RecentListen record);

    int updateByPrimaryKey(RecentListen record);
}
